/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "Bus_合同分拆确认",TableName = "Bus_合同分拆确认")]
    public partial class Bus_合同分拆确认:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="guid")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid guid { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="分拆guid")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? 分拆guid { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="分拆组号")]
       [Column(TypeName="bigint")]
       [Editable(true)]
       public long? 分拆组号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="分拆次序")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? 分拆次序 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="分拆编号")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 分拆编号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="分拆类型")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 分拆类型 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="项目经理")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 项目经理 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="总包合同项目名称")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 总包合同项目名称 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="总包合同编号")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 总包合同编号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="总包合同ID")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? 总包合同ID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="总包明细行号")]
       [Column(TypeName="bigint")]
       [Editable(true)]
       public long? 总包明细行号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="总包明细ID")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? 总包明细ID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="总包明细名称")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string 总包明细名称 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="总包明细规格")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string 总包明细规格 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="总包明细型号")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string 总包明细型号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="本次分拆数量")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? 本次分拆数量 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="单位")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 单位 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="定额编号")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 定额编号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="定额名称")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 定额名称 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="班组id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? 班组id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="班组")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 班组 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="人员id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? 人员id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="人员姓名")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 人员姓名 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="外包明细ID")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? 外包明细ID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="外包明细名称")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string 外包明细名称 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="外包明细规格")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string 外包明细规格 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="外包明细型号")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string 外包明细型号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="外包明细单位")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 外包明细单位 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="外包含税单价")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? 外包含税单价 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="外包含税金额")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? 外包含税金额 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="外包合同备注")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string 外包合同备注 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="分拆状态")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 分拆状态 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="工作开始时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? 工作开始时间 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="工作结束时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? 工作结束时间 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? CreateID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Creator")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModifyDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModifyID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ModifyID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Modifier")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="任务名称")]
       [Column(TypeName="nvarchar(max)")]
       public string 任务名称 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="定额类型")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 定额类型 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="定额单价")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       public decimal? 定额单价 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="报工班组")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 报工班组 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="单据类型")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string 单据类型 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="工期类型")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string 工期类型 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="人员来源")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 人员来源 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="外包ID")]
       [Column(TypeName="uniqueidentifier")]
       public Guid? 外包ID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="作业地点")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 作业地点 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="交代事项")]
       [MaxLength(4000)]
       [Column(TypeName="nvarchar(4000)")]
       public string 交代事项 { get; set; }

       
    }
}